package com.export.service;

import com.export.dao.ExportLogDao;
import com.export.entity.ReportExportLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 我的导出列表
 *
 * @author yuanqinglong
 * @since 2021/7/28 16:53
 */
@Service
public class MyExportServiceImpl implements IMyExportService {


    @Autowired
    private ExportLogDao exportLogDao;


    /**
     * 保存导出日志
     *
     * @param reportExportLog 报告导出日志
     */
    @Override
    public void saveExportLog(ReportExportLog reportExportLog) {
        exportLogDao.saveExportLog(reportExportLog);
    }

    /**
     * 导出日志更新
     *
     * @param reportExportLog 报告导出日志
     */
    @Override
    public void updateExportLog(ReportExportLog reportExportLog) {
        exportLogDao.updateExportLogStatus(reportExportLog);
    }
}
